<template>
    <h1>
        我是Home页面
    </h1>
</template>

<style scoped>

</style>

<script>
import {getData} from '../api/index.js'
export default{
    data(){
        return{}
    },
    mounted (){
        getData().then((data) =>{
            console.log(data);
        })
    }

}
</script>